<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>Document</title>
	</head>
	<body>
		<script type="text/javascript" >
				class Weather {
					changeWeather(){
						//类中所有的方法，已经默认开启了严格模式
						console.log(this)
					}
				}

				const w = new Weather()
				const x = w.changeWeather
				x()
		</script>
	</body>
</html>